package cn.tedu.yushougeproduct.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
@TableName("orders")
public class Orders implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private String orderNumber;
    private String productName;
    private String productImage;
    private BigDecimal price;
    private Long stateId;
    private LocalDateTime gmtCreate;
    private LocalDateTime gmtModified;
}
